Bug 2034484: Library go bump#107
Conversation
| c.updateSyncError(&instanceCopy.Status.OperatorStatus, syncErr) | ||
|
|
||
| if _, _, err := v1helpers.UpdateStatus(c.client, func(status *operatorv1.OperatorStatus) error { | ||
| if _, _, err := v1helpers.UpdateStatus(context.TODO(), c.client, func(status *operatorv1.OperatorStatus) error { |
There was a problem hiding this comment.
Can you plumb through the ctx variable from starter.go: RunOperator()? You could start by changing the signature of the Run() function to Run(ctx context.Context, workers int).
There was a problem hiding this comment.
Sounds great, modified the code to use context
updated library-go to latest Signed-off-by: ehila <ehila@redhat.com>
fee7e33 to
490c5c4
Compare
updated method scalls with new signatures removed passing next generation to ApplyValidationWebhookConfiguration updated to use explicit call to bind log flags to cli commandline Signed-off-by: ehila <ehila@redhat.com> upkeep: removed unused code and small clean up Signed-off-by: ehila <ehila@redhat.com> fix: pull in latest library-go pull in to grab fix described here openshift/library-go#1272 Signed-off-by: ehila <ehila@redhat.com> bump: library-go updated library-go to latest for fix in pr openshift/library-go#1273 Signed-off-by: ehila <ehila@redhat.com>
updated the operator Run() method to pass context through to the sync function Signed-off-by: ehila <ehila@redhat.com>
updated to use component-base/cli package to start operator ran go mod tidy/vendor/verify Signed-off-by: ehila <ehila@redhat.com>
updated unit test to regenerate hash when test object is modified ran go mod tidy/vendor/verify Signed-off-by: ehila <ehila@redhat.com>
490c5c4 to
3a35269
Compare
|
/retest-required |
|
@eggfoobar: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
@eggfoobar: This pull request references Bugzilla bug 2034484, which is valid. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
No GitHub users were found matching the public email listed for the QA contact in Bugzilla (jhou@redhat.com), skipping review request. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/assign @bertinatto |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bertinatto, eggfoobar The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@eggfoobar: Some pull requests linked via external trackers have merged: The following pull requests linked via external trackers have not merged: These pull request must merge or be unlinked from the Bugzilla bug in order for it to move to the next state. Once unlinked, request a bug refresh with Bugzilla bug 2034484 has not been moved to the MODIFIED state. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Bumping the library-go dependency to latest, this should take advantage of leader election changes for SNO clusters proposed in this library-go PR and performance improvements in this PR.
Changes: